package com.primecodegen.common.DataModelAttributes;

import com.primecodegen.common.base.*;
import com.primecodegen.util.ComConstants;

/**
 *----------------------------------------------------------
 *----------------------------------------------------------
 * @author Mohammad Awwad
 * Version: v0.0
 * contact: mhmdawwad@gmail.com
 *-----------------------------------------------------------
 *-----------------------------------------------------------
 */
public class DataModelAttributesTable extends BaseTable {

    public DataModelAttributesTable() {
        init();
    }
    public DataModelAttributesOprCols Opr = new DataModelAttributesOprCols();
    // ------------Members------------------
    private int ID;
    private String code;
    private String dataType;
    private String primaryKey;
    private String foreignKey;
    private String dataModelObject_Name;
    private int dataModelObject_ID;

    // -----------Setters & Getters------------------
    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(String primaryKey) {
        this.primaryKey = primaryKey;
    }

    public String getForeignKey() {
        return foreignKey;
    }

    public void setForeignKey(String foreignKey) {
        this.foreignKey = foreignKey;
    }

    public String getDataModelObject_Name() {
        return dataModelObject_Name;
    }

    public void setDataModelObject_Name(String dataModelObject_Name) {
        this.dataModelObject_Name = dataModelObject_Name;
    }

    public int getDataModelObject_ID() {
        return dataModelObject_ID;
    }

    public void setDataModelObject_ID(int dataModelObject_ID) {
        this.dataModelObject_ID = dataModelObject_ID;
    }

    @Override
    public void init() {

        ID = ComConstants.UNREALISTIC_INT;
        code = ComConstants.UNREALISTIC_STRING;
        dataType = ComConstants.UNREALISTIC_STRING;
        primaryKey = ComConstants.UNREALISTIC_STRING;
        foreignKey = ComConstants.UNREALISTIC_STRING;
        dataModelObject_Name = ComConstants.UNREALISTIC_STRING;
        dataModelObject_ID = ComConstants.UNREALISTIC_INT;
    }
}
